.class Lcom/waiqin365/lightapp/im/activity/dd;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/dailyreport/view/z;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public h_()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->a(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->b(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/im/adapter/bi;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/im/adapter/bi;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->c(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->d(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getFooterViewsCount()I

    move-result v1

    add-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->d(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v1

    add-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->e(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)I

    move-result v1

    mul-int/lit8 v1, v1, 0x14

    sub-int/2addr v0, v1

    iget-object v1, p0, Lcom/waiqin365/lightapp/im/activity/dd;->a:Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;->d(Lcom/waiqin365/lightapp/im/activity/XiaomishuActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v1

    if-lez v0, :cond_0

    :goto_0
    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setSelection(I)V

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method
